<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html"%>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic"%>
<%@ taglib uri="http://struts.apache.org/tags-tiles" prefix="tiles"%>
<%@ taglib uri="http://www.springframework.org/security/tags" prefix="security"%>
<%@ taglib uri="http://java.fckeditor.net" prefix="FCK"%>
<LINK href="images/css.css" type="text/css" rel="stylesheet">
<style type="text/css">
<!--
.STYLE1 {
	font-size: 12px
}

.STYLE3 {
	color: #707070;
	font-size: 12px;
}

.STYLE5 {
	color: #0a6e0c;
	font-size: 12px;
}

body {
	margin-top: 0px;
	margin-bottom: 0px;
}

.STYLE7 {
	font-size: 12
}
-->
</style>
<body>
	<table class="tableline" cellspacing="1" cellpadding="0" width="100%"
		border="0">
		<html:form action="newsAdmin.do?method=update" method="post"
			onsubmit="return checkForm();">
			<html:hidden property="id" value="${news.id}" />
			<tr>
				<td class="STYLE4" align="center" bgcolor="#ffffff" colspan="2"
					height="40">修改动态信息</td>
			</tr>
			<tr>
				<td width="217" height="26" align="right" bgcolor="#ffffff">动态标题:</td>
				<td width="773" bgcolor="#ffffff"><label for="textfield"></label>
					&nbsp;<html:text property="newstopic" value="${news.newstopic }"/> <font color="red">${newsTopicError
						}</font></td>
			</tr>
			<tr>
				<td height="26" align="right" bgcolor="#ffffff">动态内容:</td>
				<td bgcolor="#ffffff"><label for="textfield2"></label> &nbsp;<FCK:editor
						instanceName="fckContent" height="390" value="${news.newscontent }" /><font
					color="red">${newsContentError }</font></td>
			</tr>
			<tr>
				<td height="26" align="right" bgcolor="#ffffff">动态属性:</td>
				<td bgcolor="#ffffff"><label for="textfield2"></label> &nbsp;
				<html:select property="belong" value="${news.belong }">
					<html:option value="0">请选择</html:option>
					<html:option value="1">新闻动态</html:option>
					<html:option value="2">政策法规</html:option>
					<html:option value="3">公司新闻</html:option>
					<html:option value="4">人才招聘</html:option>
				</html:select> 

				<font color="red">${newsBelongError }</font></td>
			</tr>
			<tr>
       		  <td height="26" colspan="2" bgcolor="#ffffff" align="center"><html:submit value="修改" />
				<font color="red">${saveSuccess }</font></td>
            </tr>
		</html:form>
	</table>
</body>
</html>